package com.woniuxy.base.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.base.model.entity.BasePurity;
import com.woniuxy.base.model.entity.BasePurityRecord;

import java.util.List;

public interface BasePurityService {

    Page<BasePurity> getAll(int current, int size);

    Boolean update(BasePurity basePurity, String account);

    Boolean add(BasePurity basePurity);

    Page<BasePurity> conditionSearch(BasePurity basePurity, Integer current, Integer size);

    Page<BasePurity> keywordSearch(String keyword, Integer current, Integer size);

    List<BasePurityRecord> detail(Integer purityId);
}
